<#-- 导入变量定义文件 -->
<#include "../template/include/assign.ftl">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>供应商列表</title>
<#include "../template/include/source.ftl">
    <link href="${web_static}/admin/css/list.css" rel="stylesheet" type="text/css"/>
    <style type="text/css">
        .page {
            float: right;
            padding-top: 15px;
            margin-right: 15px;
        }
    </style>
</head>
<#include "../template/template_listPage.ftl">
<body class="list">
<div class="body">
    <div class="listBar">
        <h1><span class="icon">&nbsp;</span>系统直冲产品列表&nbsp;<input type="button" class="addButton"
                                                                 onclick="location.href='${web_base}/recharge/system_product!addRecharge.htm'"
                                                                 value="添加直冲产品"/></h1>
    </div>
</div>
<table class="listTable">
    <tr>
        <th>
            <span class="sort">产品名称</span>
        </th>
        <th>
            <span class="sort">运营商</span>
        </th>
        <th>
            <span class="sort">号码类型</span>
        </th>
        <th>
            <span class="sort">产品类型</span>
        </th>
        
        <th>
            操作
        </th>
    </tr>
<#if  spList??&&(spList?size gt 0) >
    <#list spList as entry>
        <tr>
            <td>
            ${(entry.name)!}
            </td>
            <td>
            ${(entry.operationName)!}
            </td>
            <td>
            ${(entry.phoneTypeName)!}
            </td>
            <td>
                <#if entry.productType==1 >直充
                <#elseif entry.productType==0> 卡密<#else >其他</#if>
            </td>
            <td>
                <a href="${web_base}/recharge/system_product!editRecharge.htm?id=${(entry.id)!}" title="编辑">[编辑]</a>
            </td>
        </tr>
    </#list>
<#else>
    <tr>
        <td colspan="6">
            <div class="noRecord">
                没有找到任何记录!
            </div>
        </td>
    </tr>
</#if>
</table>

</div>
</body>
